#!/bin/sh

gconftool-2 --set --type=string \
            /desktop/gnome/url-handlers/magnet/command "add-remote-torrent --url '%s'"
gconftool-2 --set --type=bool \
            /desktop/gnome/url-handlers/magnet/enabled true
gconftool-2 --set --type=bool \
            /desktop/gnome/url-handlers/magnet/needs_terminal false

update-gconf-defaults
